/**
 * @author Javier Guaje <jrguajeg@gmail.com>
 */

package co.edu.unal.satacredito.database.entity;

import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;
import java.io.Serializable;
import java.util.Date;
import org.bson.types.ObjectId;

@Entity("fileLog")
public class FileLog implements Serializable {
    
    @Id
    private ObjectId fileLogId;
    
    private ObjectId fileId;
    
    private ObjectId brand;
    
    private ObjectId establishment;
    
    private Date date;
    
    private int state;

    public ObjectId getBrand() {
        return brand;
    }

    public void setBrand(ObjectId brand) {
        this.brand = brand;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public ObjectId getEstablishment() {
        return establishment;
    }

    public void setEstablishment(ObjectId establishment) {
        this.establishment = establishment;
    }

    public ObjectId getFileId() {
        return fileId;
    }

    public void setFileId(ObjectId fileId) {
        this.fileId = fileId;
    }

    public ObjectId getFileLogId() {
        return fileLogId;
    }

    public void setFileLogId(ObjectId fileLogId) {
        this.fileLogId = fileLogId;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}